list(APPEND sources
  algebra_interface.cc
  blas.cc
  blas_algorithms.cc
  blas_compatibile.cc
  blas_diis.cc
  blas_interface.cc
  blas_parser.cc
  blas_solve.cc
  heff.cc
  heff_diagonalize.cc
  idmrpt2.cc
  idmrpt2_Heff.cc
  idmrpt2_Heff_doubles.cc
  idmrpt2_Heff_singles.cc
  idmrpt2_add_matrices.cc
  idmrpt2_f_int.cc
  idmrpt2_t1_amps.cc
  idmrpt2_t2_amps.cc
  index.cc
  index_iterator.cc
  main.cc
  manybody.cc
  manybody_denominators.cc
  matrix.cc
  matrix_addressing.cc
  matrix_memory_and_io.cc
  matrixtmp.cc
  mp2_ccsd.cc
  mp2_ccsd_add_matrices.cc
  mp2_ccsd_amps.cc
  mp2_ccsd_f_int.cc
  mp2_ccsd_t1_amps.cc
  mp2_ccsd_t2_amps.cc
  mp2_ccsd_w_int.cc
  mp2_ccsd_z_int.cc
  mrcc.cc
  mrcc_Heff.cc
  mrcc_add_matrices.cc
  mrcc_compute.cc
  mrcc_energy.cc
  mrcc_f_int.cc
  mrcc_pert_triples.cc
  mrcc_t1_amps.cc
  mrcc_t2_amps.cc
  mrcc_t_amps.cc
  mrcc_tau.cc
  mrcc_w_int.cc
  mrcc_z_int.cc
  mrccsd_t.cc
  mrccsd_t_compute.cc
  mrccsd_t_compute_restricted.cc
  mrccsd_t_compute_spin_adapted.cc
  mrccsd_t_form_matrices.cc
  mrccsd_t_heff.cc
  mrccsd_t_heff_a.cc
  mrccsd_t_heff_a_restricted.cc
  mrccsd_t_heff_ab.cc
  mrccsd_t_heff_ab_restricted.cc
  mrccsd_t_heff_b.cc
  mrccsd_t_heff_b_restricted.cc
  mrccsd_t_heff_restricted.cc
  mrccsd_t_setup.cc
  operation.cc
  operation_compute.cc
  operation_contraction.cc
  operation_sort.cc
  psimrcc_wfn.cc
  sort.cc
  sort_mrpt2.cc
  sort_out_of_core.cc
  special_matrices.cc
  transform.cc
  transform_block.cc
  transform_mrpt2.cc
  transform_presort.cc
  transform_read_so.cc
  updater.cc
  updater_bw.cc
  updater_mk.cc
  )
psi4_add_module(bin psimrcc sources)
